<script setup lang="ts">
import { ref, onMounted } from 'vue'
//提示
import { ElMessage } from 'element-plus'

onMounted(() => {
  ElMessage.success('这是一条成功消息')
})

defineProps<{ msg: string }>()

const count = ref(0)
</script>

<template>
  <el-row class="mb-4">
    <el-button>Default</el-button>
    <el-button type="primary">Primary</el-button>
    <el-button type="success">Success</el-button>
    <el-button type="info">Info</el-button>
    <el-button type="warning">Warning</el-button>
    <el-button type="danger">Danger</el-button>
  </el-row>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
